package com.ruoyi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.pojo.PostbarMessage;
import com.ruoyi.service.PostbarMessageService;
import com.ruoyi.mapper.PostbarMessageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.annotation.QueryAnnotation;
import org.springframework.stereotype.Service;

/**
* @author xlz
* @description 针对表【postbar_message】的数据库操作Service实现
* @createDate 2023-08-02 17:57:48
*/
@Service
public class PostbarMessageServiceImpl extends ServiceImpl<PostbarMessageMapper, PostbarMessage>
    implements PostbarMessageService{

    @Autowired
    private PostbarMessageMapper postbarMessageMapper;

    @Override
    public int add(PostbarMessage postbarMessage) {
        return postbarMessageMapper.insert(postbarMessage);
    }
}




